package com.jy.rhin.infra.cda.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFJCVo;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFVo;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFYYVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GaoXueYSFMapper extends BaseMapper<Object> {

    @Select("select *  from JK_GaoXueYSFDJ  ${ew.customSqlSegment}")
    GaoXueYSFVo getOne(@Param(Constants.WRAPPER) QueryWrapper<GaoXueYSFVo> queryWrapper);

    @Select("select *  from JK_GaoXueYSFYYJL  ${ew.customSqlSegment}")
    List<GaoXueYSFYYVo> getYongYao(@Param(Constants.WRAPPER) QueryWrapper<GaoXueYSFYYVo> queryWrapper);

    @Select("select *  from JK_GaoXueYSFFZJC  ${ew.customSqlSegment}")
    List<GaoXueYSFJCVo> getJianCha(@Param(Constants.WRAPPER) QueryWrapper<GaoXueYSFJCVo> queryWrapper);

}
